package com.xinsoft.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 发货通知列表
 */
@Data
public class ScmSaleNoticeListVo {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", notes = "")
    private Integer id;

    /**
     * 发货通知单号
     */
    @Excel(name = "发货通知单号",orderNum = "0")
    private String saleNoticeNo;

    /**
     * 客户id
     */
    private Integer clientId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称",orderNum = "0")
    private String clientName;

    /**
     * 销售员
     */
    private Integer salesPersonId;

    /**
     * 收货地址
     */
    private String goodsAddress;

    /**
     * 运输方式
     */
    private Integer transportMethod;

    /**
     * 物流单号
     */
    private String logisticsNo;

    /**
     * 物流公司
     */
    private String logisticsCom;

    /**
     * 运输费用
     */
    private BigDecimal transportCost;


    /**
     * 销售员
     */
    @Excel(name = "销售员",orderNum = "0")
    private String salesPersonName;

    /**
     * 销售部门
     */
    @Excel(name = "销售部门",orderNum = "0")
    private String salesPersonDept;

    /**
     * 通知时间
     */
    private Date noticeTime;

    /**
     * 审批状态 默认0暂存, 1:已提交(审批中), 2:驳回, 3:审核通过
     */
    private Integer approveStatus;

    @Excel(name = "审批状态",orderNum = "0")
    private String approveStatusName;


    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码",orderNum = "0")
    private String materialNo;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称",orderNum = "0")
    private String materialName;

    /**
     * 规格属性
     */
    @Excel(name = "规格属性",orderNum = "0")
    private String materialSpecific;

    /**
     * 出库数量
     */
    @Excel(name = "出库数量",orderNum = "0")
    private BigDecimal outstockNum;

    /**
     * 辅助出库数量
     */
    private BigDecimal supportOutstockNum;

    /**
     * 计量单位
     */
    private Integer mainUnit;

    /**
     * 计量单位
     */
    @Excel(name = "主单位",orderNum = "0")
    private String mainUnitName;

    /**
     * 辅助单位
     */
    private Integer assistUom;

    /**
     * 辅助单位
     */
    @Excel(name = "辅助单位",orderNum = "0")
    private String assistUomName;

    /**
     * 销售单价
     */
    @Excel(name = "销售单价",orderNum = "0")
    private BigDecimal saleUnitPrice;

    /**
     * 销售总价
     */
    @Excel(name = "销售总价",orderNum = "0")
    private BigDecimal totalPrice;

    /**
     * 源单主键
     */
    private Integer sourceId;

    /**
     * 源单编码
     */
    @Excel(name = "源单编码",orderNum = "0")
    private String sourceCode;

    /**
     * 源单类型
     */
    private Integer sourceType;

    /**
     * 源单类型
     */
    @Excel(name = "源单类型",orderNum = "0")
    private String sourceTypeName;

    /**
     * 换算系数
     */
    private BigDecimal convCoefficient;

    /**
     * 主单位可用数量
     */
    private BigDecimal primaryUnitCount;

    /**
     * 辅助单位可用数量
     */
    private BigDecimal auxiliaryUnitCount;

}
